package com.caocaog.market.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.caocaog.market.modules.BaseEntity;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 商品订配送信息表
 *
 * @author jeecg-boot
 * @date 2021-11-29
 */
@Data
@TableName("mk_order_delivery")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mk_order_delivery对象", description="商品订配送信息表")
public class OrderDelivery extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;


	/**订单主键*/
	@Excel(name = "订单主键", width = 15)
    @ApiModelProperty(value = "订单主键")
    @Dict(dictTable = "mk_order_basic",dicText = "orderNo",dicCode = "id")
    private String orderId;
	/**姓名*/
	@Excel(name = "姓名", width = 15)
    @ApiModelProperty(value = "姓名")
    private String name;
	/**性别*/
	@Excel(name = "性别", width = 15, dicCode = "sex")
	@Dict(dicCode = "sex")
    @ApiModelProperty(value = "性别")
    private Integer sex;
	/**联系方式*/
	@Excel(name = "联系方式", width = 15)
    @ApiModelProperty(value = "联系方式")
    private String mobile;
	/**位置*/
	@Excel(name = "位置", width = 15)
    @ApiModelProperty(value = "位置")
    private String location;
	/**地址*/
	@Excel(name = "地址", width = 15)
    @ApiModelProperty(value = "地址")
    private String address;
	/**经度*/
	@Excel(name = "经度", width = 15)
    @ApiModelProperty(value = "经度")
    private String lng;
	/**纬度*/
	@Excel(name = "纬度", width = 15)
    @ApiModelProperty(value = "纬度")
    private String lat;
	/**订单距离*/
	@Excel(name = "订单距离", width = 15)
    @ApiModelProperty(value = "订单距离")
    private String distance;
	/**配送方式*/
	@Excel(name = "配送方式", width = 15)
    @ApiModelProperty(value = "配送方式")
    private String deliveryType;
	/**配送费*/
	@Excel(name = "配送费", width = 15)
    @ApiModelProperty(value = "配送费")
    private String deliveryAmount;
}
